<!--
 * @Author: showtan
 * @Date: 2023-03-10 14:43:16
 * @Version: 1.0
 * @LastEditTime: 2023-03-10 14:45:25
 * @LastEditors: showtan
 * @Description: 
 * @FilePath: /Canvas/01使用canvas.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    canvas {
      display: block;
      margin: 0 auto;
      border: 2px solid #aaa;
    }
  </style>
</head>
<body>
  <canvas height="500px" width="500px">
    您的浏览器版本过低，请升级浏览器或者使用谷歌浏览器打开！
  </canvas>
</body>
</html>